import type { App } from "vue";
import XcForm from "@xc-components/xc-form";
import XcTable from "@xc-components/xc-table";

/**
 * @description: 注册xc组件
 * @param {App} app
 * @return {*}
 */
export default (app: App) => {
  // 表单
  import("@xc-components/xc-form/lib/style.css");
  app.component("XcForm", XcForm);

  // 表格
  import("@xc-components/xc-table/lib/style.css");
  app.component("XcTable", XcTable);
};
